package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料出入库记录操作对象 base_meterial_move
 *
 * @author ruoyi
 * @date 2024-02-04
 */
@Data
public class BaseMeterialMove extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 物料编号
     */
    @Excel(name = "物料编号")
    private Long meterialId;

    /**
     * 出入库数量
     */
    @Excel(name = "出入库数量")
    private Long meterialMoveNumber;

    /**
     * 出入库状态
     */
    @Excel(name = "出入库状态")
    private String meterialMoveStatus;

    /**
     * 领取人
     */
    @Excel(name = "领取人")
    private String receiveBy;

    private String storeName;

    private BaseMeterialStock baseMeterialStock;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMeterialId(Long meterialId) {
        this.meterialId = meterialId;
    }

    public Long getMeterialId() {
        return meterialId;
    }

    public void setMeterialMoveNumber(Long meterialMoveNumber) {
        this.meterialMoveNumber = meterialMoveNumber;
    }

    public Long getMeterialMoveNumber() {
        return meterialMoveNumber;
    }

    public void setMeterialMoveStatus(String meterialMoveStatus) {
        this.meterialMoveStatus = meterialMoveStatus;
    }

    public String getMeterialMoveStatus() {
        return meterialMoveStatus;
    }

    public void setReceiveBy(String receiveBy) {
        this.receiveBy = receiveBy;
    }

    public String getReceiveBy() {
        return receiveBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("meterialId", getMeterialId())
                .append("meterialMoveNumber", getMeterialMoveNumber())
                .append("meterialMoveStatus", getMeterialMoveStatus())
                .append("createTime", getCreateTime())
                .append("receiveBy", getReceiveBy())
                .append("remark", getRemark())
                .toString();
    }
}
